//
//  UIFont+Ex.h
//  NewProject
//
//  Created by macbook on 2022/2/21.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, FontWeightStyle) {
    /// 中黑体
    FontWeightStyleMedium,
    /// 中粗体
    FontWeightStyleSemibold,
    /// 细体
    FontWeightStyleLight,
    /// 极细体
    FontWeightStyleUltralight,
    /// 常规体
    FontWeightStyleRegular,
    /// 纤细体
    FontWeightStyleThin,
    /// 粗体
    FontWeightStyleBold,
};

@interface UIFont (Ex)

/**
 苹方字体

 @param fontWeight 字体粗细（字重)
 @param fontSize 字体大小
 @return 返回指定字重大小的苹方字体
 */
+ (UIFont *)pingFangSCWithWeight:(FontWeightStyle)fontWeight
                            size:(CGFloat)fontSize;


@end

NS_ASSUME_NONNULL_END
